package com.hxzy.shop.order.dto.resp;

import com.hxzy.shop.order.vo.DrugGiftVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author rlj
 * @Date 2021/7/19 11:54
 * @Version 1.0
 */
@Data
public class ShoppingCarListDrugResp {
    @ApiModelProperty("商品id")
    private Long drugId;

    @ApiModelProperty("商品数量")
    private Integer number;

    @ApiModelProperty("药品图片")
    private String drugImage;

    @ApiModelProperty("药品价格")
    private BigDecimal drugPrice;

    @ApiModelProperty("活动价格")
    private BigDecimal activityPrice;

    @ApiModelProperty("药品名字")
    private String drugName;

    @ApiModelProperty("是否处方药")
    private Boolean prescription;
    @ApiModelProperty("规格")
    private String drugSpecifications;

    @ApiModelProperty("起步数量")
    private Integer limitNumber;

    @ApiModelProperty("店面库存")
    private Integer storeStock;

    @ApiModelProperty("活动状态")
    private Boolean state;

    @ApiModelProperty("活动激活状态")
    private Boolean activate;

    @ApiModelProperty("打包价格")
    private BigDecimal packPrice;

    /**
     * 满足金额，则开始优惠（满减）
     */
    @ApiModelProperty("满足金额，则开始优惠（满减）")
    private BigDecimal amount;
    /**
     * 优惠金额（满减）
     */
    @ApiModelProperty("优惠金额（满减）")
    private BigDecimal discountAmount;
    /**
     * 折扣率(存百分比)
     */
    @ApiModelProperty("折扣率(存百分比)")
    private BigDecimal discount;
    /**
     * 满多少赠送
     */
    @ApiModelProperty("满多少赠送")
    private Integer howManyPiecesAreGivenAway;


    @ApiModelProperty("商品是否下架")
    private Boolean drugState;

    /**
     * 赠品
     */
    @ApiModelProperty("赠品")
    private List<DrugGiftVo> drugGiftVoList;
}
